Systems and methods for processing extensible markup language data during runtime

ABSTRACT

A method for dynamically loading one or more Extensible Mark-up Language (XML) schema definition (XSD) files into a JAVA™ Virtual Machine (JVM) during runtime is provided. The method includes generating JAVA™ objects from one or more initial XSD files. The method further includes grouping the JAVA™ objects by namespaces. The method also includes creating new XSD files for the namespaces. The new XSD file includes references to the initial XSD files that include a same namespace. The method further includes generating JAVA™ classes from the new XSD files. The method also includes compiling the new JAVA™ classes into bytecode. The bytecode is loaded into a ClassLoader, wherein the ClassLoader is available to the JVM during runtime.

BACKGROUND OF THE DISCLOSURE

The field of the disclosure relates generally to data conversions and,more particularly, to a network-based system and method for dynamicallyprocessing and loading data in an Extensible Markup Language (XML)format into a virtual computing machine configured to run a JAVA™program during runtime.

To communicate with one another, computers use various protocols andmessage formats. The Extensible Markup Language, otherwise known as XML,has become a standard for data transmission and inter-applicationcommunication. XML is a markup language that defines a set of rules forencoding files in a format which is both human-readable andmachine-readable. XML data can be readily transmitted between computersusing any type of data transmission media. XML data can be processedusing computer programs and other suitably configured applications.

A XML file is generally required to conform to a particular standard toensure that the XML file can be easily exchanged and understood betweenmultiple independent parties. To ensure that the XML file conforms to astandard, the XML file may be validated against a XML schema. The XMLschema is a set of rules to which a XML file must conform if it is to beconsidered valid (i.e., the file conforms to the standard). The XMLschema defines the structure, constraints, data types, and relationshipsof the data elements that constitute data contained inside the XML file.

The XML Schema definition language (XSD) is the current World Wide WebConsortium (W3C) specification for XML schemas. An XSD file defines atype of XML file in terms of constraints upon what elements andattributes may appear, the relationship between the elements and theattributes, what types of data may be included, and other things.

Since the processing of XML has become a standard function in manycomputing environments, it is often necessary to receive data from a XMLfile and transform the data such that the data can be handled by a JAVA™Virtual Machine (JVM). The JVM is an abstract computing machine thatenables a computer to run a JAVA™ program. XML data binding involvesbinding the schema for a XML file into a set of JAVA™ classes thatrepresents the schema and can be executed on the JVM. One method that isuseful for XML data binding is the JAVA™ Architecture for Data Binding(JAXB), which compiles an XML schema into JAVA™ classes. These generatedclasses also ensure that the constraints expressed in the schema areenforced in the resulting methods and JAVA™ language data types.

When using XML data binding for data format conversions, typically thedata structures that will be used for data binding are defined and addedto the code during compile time. Any changes to the existing datastructures or addition of new data structures requires code modificationand recompilation, followed by a redeployment of the code in aproduction environment. However, this recompilation and redeployment ofthe code is problematic for high-traffic, high-availability computingsystems.

Therefore, in an effort to avoid this recompilation and redeployment ofthe code, new systems and methods are needed to communicate new datastructures and modifications to existing data structures during runtime.

BRIEF DESCRIPTION OF THE DISCLOSURE

A method for dynamically loading one or more Extensible Mark-up Language(XML) schema definition (XSD) files into a JAVA™ Virtual Machine (JVM)during runtime is provided. The method includes generating JAVA™ objectsfrom one or more initial XSD files. The method also includes identifyingnamespaces within the JAVA™ objects. The method further includesgrouping the JAVA™ objects by namespaces. The method also includescreating new XSD files for the namespaces. The new XSD files includereferences to the initial XSD files that include a same namespace. Themethod further includes generating JAVA™ classes from the new XSD files.The method also includes compiling the new JAVA™ classes into bytecode.The method further includes storing the bytecode into a memory. Themethod also includes receiving, from the memory, the bytecode. Thebytecode is loaded into a ClassLoader. The ClassLoader is available tothe JVM during runtime.

A system for dynamically loading one or more Extensible Mark-up Language(XML) schema definition (XSD) files into a JAVA™ Virtual Machine (JVM)during runtime is provided. The system includes a processor coupled to amemory and a network. The processor is configured to generate JAVA™objects from one or more initial XSD files. The processor is alsoconfigured to identify namespaces within the JAVA™ objects. Theprocessor is further configured to group the JAVA™ objects bynamespaces. The processor is also configured to create new XSD files forthe namespaces. The new XSD files include references to the initial XSDfiles that include a same namespace. The processor is further configuredto generate JAVA™ classes from the new XSD files. The processor is alsoconfigured to compile the new JAVA™ classes into bytecode. The processoris further configured to store the bytecode into a memory. The processoris also configured to receive, from the memory, the bytecode. Thebytecode is loaded into a ClassLoader. The ClassLoader is available tothe JVM during runtime.

A non-transitory computer readable medium that includes computerexecutable instructions for dynamically loading one or more ExtensibleMark-up Language (XML) schema definition (XSD) files into a JAVA™Virtual Machine (JVM) during runtime is provided. When executed by auser computing device with a processor in communication with a memory,the computer executable instructions cause the user computing device togenerate JAVA™ objects from one or more initial XSD files. The computerexecutable instructions also cause the user computing device to identifynamespaces within the JAVA™ objects. The computer executableinstructions further cause the user computing device to group the JAVA™objects by namespaces. The computer executable instructions also causethe user computing device to create new XSD files for the namespaces.The new XSD files include references to the initial XSD files thatinclude a same namespace. The computer executable instructions furthercause the user computing device to generate JAVA™ classes from the newXSD files. The computer executable instructions also cause the usercomputing device to compile the new JAVA™ classes into bytecode. Thecomputer executable instructions further cause the user computing deviceto store the bytecode into a memory. The computer executableinstructions also cause the user computing device to receive, from thememory, the bytecode. The bytecode is loaded into a ClassLoader. TheClassLoader is available to the JVM during runtime.

BRIEF DESCRIPTION OF THE DRAWINGS

FIGS. 1 and 2 show example embodiments of the methods and systemsdescribed herein.

FIG. 1 is a flow chart of an example system and method to dynamicallyprocess and load XML-based data into a JAVA™ Virtual Machine (JVM)during runtime; and

FIG. 2 is a block diagram of the system and method described in FIG. 1applied to a server for handling XML files.

DETAILED DESCRIPTION OF THE DISCLOSURE

A system and method for dynamically processing and loading XML-baseddata into a JAVA™ Virtual Machine (JVM) during runtime is provided. TheXML processing system includes at least a processing component forprocessing XSD files, a namespace processing component for processingthe namespaces of the XSD files, and a compiling component forgenerating and packaging JAVA™ classes from the XSD files. The XML,processing system is configured to receive at least one XML file or XSDfile through a frontend interface, such as a web interface or a commandline tool, which is coupled to at least one computing device. The XMLprocessing system converts the XML-based data into JAVA™ bytecode. TheXML processing system includes at least a schema compiler to generateJAVA™ bindings from an XML schema file and a JAVA™ compiler forcompiling JAVA™ code into byte codes that may be executed by the JVM.

The methods and systems described herein may be implemented usingcomputer programming or engineering techniques including computersoftware, firmware, hardware or any combination or subset thereof,wherein the technical effect is achieved by performing at least one of:(a) iterating through the XML files; (b) converting XSD files to JAVA™objects using data binding; (c) performing JAVA™ introspection andreflection on the JAVA™ objects; (d) grouping the XSD files by XMLnamespace; and (d) converting the XML-based data into JAVA™ bytecode.The technical effects described herein apply to the technical field ofprocessing and loading XML-based data into a JVM during runtime. Thesystems and methods described herein provide the technical advantage ofavoiding recompilation and redeployment of code and communicating newdata structures and modifications to existing data structures duringruntime.

In one embodiment, a computer program is provided, and the program isembodied on a computer-readable medium. In an example embodiment, thesystem is executed on a single computer system, without requiring aconnection to a sever computer. In a further example embodiment, thesystem is being run in a Windows® environment (Windows is a registeredtrademark of Microsoft Corporation, Redmond, Wash.). In yet anotherembodiment, the system is run on a mainframe environment and a UNIX®server environment (UNIX is a registered trademark of The Open Group).The application is flexible and designed to run in various differentenvironments without compromising any major functionality. In someembodiments, the system includes multiple components distributed among aplurality of computing devices. One or more components may be in theform of computer-executable instructions embodied in a computer-readablemedium. The systems and processes are not limited to the specificembodiments described herein. In addition, components of each system andeach process can be practiced independent and separate from othercomponents and processes described herein. Each component and processcan also be used in combination with other assembly packages andprocesses.

The following detailed description illustrates embodiments of thedisclosure by way of example and not by way of limitation. It iscontemplated that the disclosure has general application to networks inindustrial, commercial, and residential applications.

As used herein, an element or step recited in the singular and precededwith the word “a” or “an” should be understood as not excluding pluralelements or steps, unless such exclusion is explicitly recited.Furthermore, references to “example embodiment” or “one embodiment” ofthe present disclosure are not intended to be interpreted as excludingthe existence of additional embodiments that also incorporate therecited features.

FIG. 1 is a flow chart of an example method to dynamically process andload XML-based data into a JVM (JAVA™ Virtual Machine) during runtime.The XML processing system receives a plurality of XML files through thefrontend interface (block 102), such as a web interface, a command linetool, or an application. In some embodiments, XSD files are received bythe XML processing system and the step, described below, of convertingthe XML files to XSD files is omitted.

The XSD processing component iterates through the received XML files(block 104), converting each XML file into a W3C XML Schema Definition(XSD) file (block 106). XSD is a standards-based format of the W3C(World Wide Web Consortium) for defining a structure of XML data. TheXSD processing component further converts the XSD files to JAVA™ objectsusing a data binding library (e.g., JAXB, Jackson, Moxy, etc.).

The JAVA™ objects enables each XSD file to be handled in anobject-oriented manner without text parsing the XSD file. This allowsfor ease of building metadata information from the XSD files as well asadding metadata gathered in the future. The object-oriented approachfurther avoids potential issues associated with writing an XSD parser inorder to properly parse and record relationships and structures definedin the XSD files. As explained further below, the object-orientedapproach is also particularly useful in tracing the relationshipsbetween structures defined in the XSD files.

A XSD file may reference other XSD files; for example, two XSD files mayhave different namespaces but reference each other. Converting a XSDfile to a JAVA™ object only instantiate the internal references withinthe XSD file. However, if the XSD file includes an external reference toone or more other XSD files, the conversion from the XSD file to theJAVA™ object will not instantiate the external references to the otherXSD files.

Accordingly, the XSD processing component performs JAVA™ introspectionand reflection on the JAVA™ objects (block 108). JAVA™ introspectioninvolves obtaining internal information of a JAVA™ class at run-time.This information includes inheritances, methods, class fields,constructors, and so on. JAVA™ Reflection is used to find relationshipsbetween the JAVA™ objects (i.e., the instantiated XSD files) torecursively trace and resolve references in the JAVA™ objects.

When XSD data is converted to JAVA™ objects, references between JAVA™objects from within the same XSD file and between objects from separateXSD files are specified using a specific JAVA™ data type named QName.The QName reference is a JAVA™ representation of an XSD elementreference to another XSD type definition. All references in a definedstructure and data type to other defined structures and data types arerepresented after data binding as a JAVA™ QName data type.

The XSD processing component uses JAVA™ Reflection to traverse the XSDfiles and gather all data types that are of JAVA™x.xml.namespace.QName.JAVA™ Reflection traces this QName reference to one of the otherinstantiated XSD types. This reference tracing builds a parent/childrelationship tree, forming the relationships between the instantiatedXSD types within the XSD file and between different XSD files. Theframework also validates the XSD files, such that validation will failif the external reference cannot be resolved.

While recursively tracing the references in the objects, the XSDprocessing component also records any required metadata, such asnamespace information, root elements, and top-level elements. The XSDprocessing component iterates through the XML files (block 110),continuing the above process for each XML file until all the XML fileshave been converted to JAVA™ objects and the relationships traced.

Issues arise when two or more different XML files utilize identicalelements or identical attribute names to describe different(non-compatible) data. These issues are typically avoided by usingnamespaces. When a particular element or attribute is described in a XMLfile, the element or attribute is attributed a unique namespace toensure that it is not confused with an element or attribute from anotherfile.

Building the parent/child relationship tree involves determiningnamespaces for the xml elements. The namespace processing component usesthe gathered metadata to determine the unique namespaces and pointersfrom that namespace to an originating XSD file for that namespace. Whereelements definitions are provided across multiple XSD files withdifferent namespaces, the XSD files are related and should be handled asbeing part of a same group, but should be grouped into different JAVA™package names based on the namespaces (block 111). For example, giventhree XSD files, (i) XSD1 with namespace1, (iii) XSD2 with namespace2,and (iii) XSD3 with namespace2, files XSD2 and XSD3 are packaged in asame JAVA™ package since they share the same namespace, while XSD1 islocated in a separate JAVA™ package. The generated JAVA™ packages mayappear as (i) XSD1—namespace1—com.company.generated.ns1, (ii)XSD2—namespace2—com.company.generated.ns2, and (iii)XSD3—namespace3—com.company.generated.ns2.

The compiling component uses JAVA™ Architecture for XML Binding (knownas JAXB), which is a specification (or standard) that automates amapping between XML files and JAVA™ objects. JAXB includes an xjc schemabinding compiler. The xjc binding compiler compiles an XML schema fileinto JAVA™ classes and the JAXB groups the generated classes into JAVA™packages. The compiling component uses the xjc binding compiler togenerate JAVA™ classes from the XSD files and JAXB to group the JAVA™classes into JAVA™ packages based on the XML namespaces.

However, the xjc specification does not allow generating a JAVA™ packagefrom multiple XSD files that define the same namespace. Therefore, thenamespace processing component assists in packaging the JAVA™ classes byauto-generating a new XSD file that only contains “include” elementsreferencing the instantiated XSD files that share the same namespace.Thus, there is a new XSD file auto-generated for every namespace foundin the instantiated XSD file group. The “include” element enables all ofthe definitions from multiple XSD files that share the same namespace tobe pulled into the definition of a XSD file during processing. Thiseffectively groups XSD files with the same namespace into one XSD file,which is acceptable to the xjc compiler, without modifying any of theXSD files.

The namespace processing component iterates through each namespace foundin the JAVA™ objects (block 112). If there is a namespace that has notbeen processed, the namespace processing component creates a new XSDfile for that namespace (block 114), and add “include” elements for eachof the instantiated XSD files that share the namespace (block 116). Thenamespace processing component creates a new XSD file for eachnamespace, with the new XSD file including references to all of theoriginal XSD files that include the namespace. Once all namespaces havebeen processed (block 118), the compiling component creates a JAXBbinding file (block 120), and creates entries in the JAXB binding filefor each of the newly generated XSD files.

With the newly generated XSD files and the generated JAXB binding file,the compiling component runs, without error, the xjc tool (block 122)and generates and packages JAVA™ classes from the new XSD files thatshare the same namespace. The compiling component runs a JAVA™ “JAVA™c”command to compile the JAVA™ classes into JAVA™ bytecodes (block 124),which is used as input for the JAVA™ Virtual Machine (JVM). The JAVA™bytecode may be transmitted to a backend server, which is incommunication with a network.

The compiling component stores the generated bytecode for the JAVA™classes and gathered metadata to a database (block 126), such as astorage device. Execution of the JAVA™c command and the xjc tool areautomated and occur during runtime, as opposed to normally occurringduring compile-time.

The database is accessible to a proxy component that will be using theJAVA™ classes. The metadata is also stored in the database so that theproxy component, when pulling the bytecode out of the database, hasinformation about the bytecode. The proxy component may periodicallypoll or receive an event for newly generated JAVA™ classes added to thedatabase. For example, the proxy component may have an internal clockwhere every 15 minutes a process inside the proxy component will scanthe database and, based on timestamps of records in the database, verifywhether new definitions are present.

Any code loaded into the JVM is associated with a ClassLoader. Withinmemory, the ClassLoader points to binaries loaded out of the database.When at least one generated JAVA™ class is found, a new ClassLoader iscreated. The proxy component then loads the bytecode from the databaseinto a new instance of a ClassLoader (a new ClassLoader instance iscreated for each refresh of the generated JAVA™ classes in the JVM). Thenew ClassLoader instance is used with data binding libraries (e.g.,JAXB, Jackson, Moxy, etc.) to bind and serialize data. This enables theJAVA™ classes to be available to the already-running JVM.

Classes in the older ClassLoaders must be dereferenced in order forJAVA™ Garbage Collection to properly reclaim memory related to olderclasses and older ClassLoaders; otherwise, there will be a permanentmemory leak.

It is understood that each block shown in the diagrams (i.e., blockdiagram and/or flowchart diagram), and combinations of blocks in thediagrams, can be implemented by computer program instructions. Thesecomputer program instructions may be provided to a processor of ageneral purpose computer, special purpose computer, or otherprogrammable data processing apparatus to produce a machine, such thatthe instructions, which execute via the processor of the computer orother programmable data processing apparatus, create means forimplementing the functions specified in the diagram block or blocks.

These computer program instructions may be stored in a computer-readablememory that can direct a computer or other programmable data processingapparatus to function in a particular manner, such that the instructionsstored in the computer-readable memory produce an article of manufactureincluding instruction means which implement the function specified inthe diagram block or blocks.

The computer program instructions may be loaded onto a computer or otherprogrammable data processing apparatus to cause a series of operationalsteps to be performed on the computer or other programmable apparatus toproduce a computer implemented process such that the instructions whichexecute on the computer or other programmable apparatus provide stepsfor implementing the functions specified in the diagram block or blocks.

FIG. 2 is a block diagram showing the systems and methods described inFIG. 1 applied to a server for processing and loading XML-based datainto a JVM (JAVA™ Virtual Machine) during runtime. Server 200, forexample, a web service server, may receive XML document file 202. Thesystems and methods described herein can be used for dynamicallyperforming XML data conversions on payloads sent to and received from agroup of web services. XML document file 202 may be data intended asinput for a web service 204 running on server 200.

The XML document file 202. is automatically converted into JAVA™bytecode 206 and loaded into a new instance of a ClassLoader, asdescribed in FIG. 1. The JAVA™ bytecode (i.e., JAVA™ classes) isexecuted 208 on the already-running JVM. Applications, for example, webservices 204. may then execute the various functionality of theconverted data structures.

In one or more embodiments, the systems and methods described herein areimplemented at a proxy-level. For example, a proxy server, acting as anintermediary for a group of web services, automatically converts XMLdocument file 202 for the web services. As a result, existing webservices behind the proxy server do not require a code change toimplement the data format conversion described in FIG. 1. Rather, theproxy server automatically converts inbound XML-based data intoJAVA™-based data for web service consumption. In additional embodiments,as the proxy server processes each XSD file, the proxy serverautomatically perform data validation before routing to a destinationweb service.

The code may execute entirely on one or more servers, or it may executepartly on a server and partly on a client within a client device or as aproxy server at an intermediate point in a communications network. Inthe latter scenario, the client device may be connected to a server overa LAN or a WAN (e.g., an intranet), or the connection may be madethrough the Internet (e.g., via an Internet Service Provider). It isunderstood that the present disclosure is not TCP/IP specific orInternet-specific. The present disclosure may be embodied using variousprotocols over various types of computer networks.

The term processor, as used herein, refers to central processing units,microprocessors, microcontrollers, reduced instruction set circuits(RISC), application specific integrated circuits (ASIC), logic circuits,and any other circuit or processor capable of executing the functionsdescribed herein.

As used herein, the terms “software” and “firmware” are interchangeable,and include any computer program stored in memory for execution by aprocessor, including RAM memory, ROM memory, EPROM memory, EEPROMmemory, and non-volatile RAM (NVRAM) memory. The above memory types areexample only, and are thus not limiting as to the types of memory usablefor storage of a computer program.

As will be appreciated based on the foregoing specification, theabove-discussed embodiments of the disclosure may be implemented usingcomputer programming or engineering techniques including computersoftware, firmware, hardware or any combination or subset thereof. Anysuch resulting computer program, having computer-readable and/orcomputer-executable instructions, may be embodied or provided within oneor more computer-readable media, thereby making a computer programproduct, i.e., an article of manufacture, according to the discussedembodiments of the disclosure. These computer programs (also known asprograms, software, software applications or code) include machineinstructions for a programmable processor, and can be implemented in ahigh-level procedural and/or object-oriented programming language,and/or in assembly/machine language. As used herein, the terms“machine-readable medium,” “computer-readable medium,” and“computer-readable media” refer to any computer program product,apparatus and/or device (e.g., magnetic discs, optical disks, memory,Programmable Logic Devices (PLDs)) used to provide machine instructionsand/or data to a programmable processor, including a machine-readablemedium that receives machine instructions as a machine-readable signal.The “machine-readable medium,” “computer-readable medium,” and“computer-readable media,” however, do not include transitory signals(i.e., they are “non-transitory”). The term “machine-readable signal”refers to any signal used to provide machine instructions and/or data toa programmable processor.

This written description uses examples, including the best mode, toenable any person skilled in the art to practice the disclosure,including making and using any devices or systems and performing anyincorporated methods. The patentable scope of the disclosure is definedby the claims, and may include other examples that occur to thoseskilled in the art. Such other examples are intended to be within thescope of the claims if they have structural elements that do not differfrom the literal language of the claims, or if they include equivalentstructural elements with insubstantial differences from the literallanguages of the claims.

What is claimed is:
 1. A method for dynamically loading one or moreExtensible Mark-up Language (XML) schema definition (XSD) files into aJAVA™ Virtual Machine (JVM) during runtime, the method comprising:generating JAVA™ objects from one or more initial XSD files; identifyingnamespaces within the JAVA™ objects; grouping the JAVA™ objects bynamespaces; creating new XSD files for the namespaces, wherein the newXSD files include references to the initial XSD files that include asame namespace; generating JAVA™ classes from the new XSD files;compiling the new JAVA™ classes into bytecode; storing the bytecode intoa memory; and receiving, from the memory, the bytecode, wherein thebytecode is loaded into a ClassLoader, wherein the ClassLoader isavailable to the JVM during runtime.
 2. The method of claim 1, furthercomprising generating the JAVA™ classes using a XML To JAVA™ Compiler(xjc).
 3. The method of claim 1, further comprising generating the JAVA™objects from the one or more initial XSD files using a data bindinglibrary.
 4. The method of claim 1, further comprising including an“include” element in the new XSD files, wherein the “include” elementreferences each of the one or more initial XSD files that share a samenamespace.
 5. The method of claim 1, further comprising searching forreferences in the JAVA™ objects of the QName type to determinereferences to other XSD types.
 6. The method of claim 1, furthercomprising generating the one or more initial XSD files from one or moreXML files.
 7. The method of claim 6, further comprising validating theone or more XML files against a XSD schema during runtime and reportingany discrepancies.
 8. A system for dynamically loading one or moreExtensible Mark-up Language (XML) schema definition (XSD) files into aJAVA™ Virtual Machine (JVM) during runtime, comprising: a processorcoupled to a memory and a network, said processor configured to:generate JAVA™ objects from one or more initial XSD files; identifynamespaces within the JAVA™ objects; group the JAVA™ objects bynamespaces; create new XSD files for the namespaces, wherein the new XSDfiles include references to the initial XSD files that include a samenamespace; generate JAVA™ classes from the new XSD files; compile thenew JAVA™ classes into bytecode; store the bytecode into a memory; andreceive, from the memory, the bytecode, wherein the bytecode is loadedinto a ClassLoader, wherein the ClassLoader is available to the JVMduring runtime.
 9. The system in accordance with claim 8, wherein theJAVA™ classes are generated using a XML To JAVA™ Compiler (xjc).
 10. Thesystem in accordance with claim 8, wherein the JAVA™ objects aregenerated from the one or more initial XSD files using a data bindinglibrary.
 11. The system in accordance with claim 8, wherein an “include”element is included in the new XSD files, wherein the “include” elementreferences each of the one or more initial XSD files that share a samenamespace.
 12. The system in accordance with claim 8, wherein a searchfor references in the JAVA™ objects of the QName type is made todetermine references to other XSD types.
 13. The system in accordancewith claim 8, wherein the one or more initial XSD files are generatedfrom one or more XML files.
 14. The system in accordance with claim 13,wherein the one or more XML files are validated against a XSD schemaduring runtime and discrepancies are reported.
 15. A non-transitorycomputer readable medium that includes computer executable instructionsfor dynamically loading one or more Extensible Mark-up Language (XML)schema definition (XSD) files into a JAVA™ Virtual Machine (JVM) duringruntime, wherein when executed by a user computing device with aprocessor in communication with a memory, the computer executableinstructions cause the user computing device to: generate JAVA™ objectsfrom one or more initial XSD files; identify namespaces within the JAVA™objects; group the JAVA™ objects by namespaces; create new XSD files forthe namespaces, wherein the new XSD files include references to theinitial XSD files that include a same namespace; generate JAVA™ classesfrom the new XSD files; compile the new JAVA™ classes into bytecode;store the bytecode into a memory; and receive, from the memory, thebytecode, wherein the bytecode is loaded into a ClassLoader, wherein theClassLoader is available to the JVM during runtime.
 16. Thenon-transitory computer readable medium in accordance with claim 15,wherein the computer-executable instructions cause the processor togenerate the JAVA™ classes using a XML To JAVA™ Compiler (xjc).
 17. Thenon-transitory computer readable medium in accordance with claim 15,wherein the computer-executable instructions cause the processor togenerate the JAVA™ objects from the one or more initial XSD files usinga data binding library.
 18. The non-transitory computer readable mediumin accordance with claim 15, wherein the computer-executableinstructions cause the processor to include an “include” element in thenew XSD files, wherein the “include” element references each of the oneor more initial XSD files that share a same namespace.
 19. Thenon-transitory computer readable medium in accordance with claim 15,wherein the computer-executable instructions cause the processor tosearch for references in the JAVA™ objects of the QName type todetermine references to other XSD types.
 20. The non-transitory computerreadable medium in accordance with claim 15, wherein thecomputer-executable instructions cause the processor to generate the oneor more initial XSD files from one or more XML files.
 21. Thenon-transitory computer readable medium in accordance with claim 20,wherein the computer-executable instructions cause the processor tovalidate the one or more XML files against a XSD schema during runtimeand report discrepancies.